"""
新增数据

字典序列[key] = 值
"""

# 有数据的字典
dict1 = {'name':'张三','age':18,'sex':'男'}

dict1['address'] = '浙江省杭州市'
print(dict1)
print(len(dict1.keys()))
print('*'*30)

dict2 ={}

dict2[1] = 2
print(dict2)